package com.example.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {
    private String secretKey = "mySecretKey";
    private long expiration = 86400000; // 24小时
    private String tokenHeader = "Authorization";
    private String tokenPrefix = "Bearer ";
}
